#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QModelIndex>
#include <QLabel>
#include <QStatusBar>

namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

    static void showMessage(QtMsgType, const char *message) { m_mw->statusBar()->showMessage(message); m_log.append(message); }

private slots:
    void addFilterTag(QString tag = QString());
    void removeFilterTags();
    void openVideo(QModelIndex);
    void launchFile(QString);
    void launchScan();
    void displaySettings();

private:
    Ui::MainWindow *ui;
    QStringList m_tagFilters;
    static MainWindow *m_mw;
    static QStringList m_log;
};

#endif // MAINWINDOW_H
